﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace geekcmd
{
	public partial class MainForm : Form
	{
		FileView fileListView1;
		FileView fileListView2;

		void GenerateGarbage(string path)
		{
			System.IO.Directory.CreateDirectory(path);
			for (int i = 0; i < 32768; ++i)
			{
				System.IO.File.Create(System.IO.Path.Combine(path, System.IO.Path.GetRandomFileName()));
			}
		}

		public MainForm()
		{
			InitializeComponent();

			fileListView1 = new FileView();
			fileListView1.Dock = DockStyle.Fill;
			fileListView1.TabStop = true;
			fileListView1.TabIndex = 0;
			splitContainer.Panel1.Controls.Add(fileListView1);

			fileListView2 = new FileView();
			fileListView2.Dock = DockStyle.Fill;
			fileListView2.TabStop = true;
			fileListView2.TabIndex = 0;
			splitContainer.Panel2.Controls.Add(fileListView2);
		}
	}
}
